package com.yitao.cms.dto.overseasLogistics;

import com.skipper.base.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @author Kien
 * @ClassName OverseasLogisticsErrorDto
 * @date 2019/4/12 16:49
 */
public class OverseasLogisticsErrorDto extends BaseDto {
    /**
     * id
     */
    @ApiModelProperty("id")
    private Long id;


    /**
     * 物流信息id
     */
    @ApiModelProperty("物流信息id")
    private String wareHouseId;


    /**
     * 商家发货快递编号
     */
    @ApiModelProperty("商家发货快递编号")
    private String overseaExpressNo;


    /**
     * 入库状态：0，未预报已入库，1预报的未入库，2已预报已入库，3入库异常（包裹商品和预报不符合）
     */
    @ApiModelProperty("入库状态：0，未预报已入库，1预报的未入库，2已预报已入库，3入库异常（包裹商品和预报不符合）")
    private Integer status;

    @ApiModelProperty("前端展示-入库状态：0，未预报已入库，1预报的未入库，2已预报已入库，3入库异常（包裹商品和预报不符合）")
    private String statusString;

    /**
     * 客户的顾客识别号
     */
    @ApiModelProperty("客户的顾客识别号")
    private String clientIdentifier;


    /**
     * 包裹入库重量
     */
    @ApiModelProperty("包裹入库重量")
    private String inboundWeight;


    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("创建时间-前端展示")
    private String createTimeStr;

    /**
     * 异常信息来源 0: 没有推送预报 1:没有导入到境外物流信息表
     */
    @ApiModelProperty("异常信息来源 0: 没有推送预报 1:没有导入到境外物流信息表")
    private Integer statusError;

    /**
     * 是否处理 0:未处理 1:已处理
     */
    @ApiModelProperty("是否处理 0:未处理 1:已处理")
    private Integer handlingStatus;

    /**
     * 境外物流信息表id
     */
    private Long overseasLogisticsInfoId;

    @ApiModelProperty("备注")
    private String remark;

    public String getRemark() {
        return "转运仓收到未预报包裹，请检查处理。未预报包裹请重新导入！";
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getOverseasLogisticsInfoId() {
        return overseasLogisticsInfoId;
    }

    public void setOverseasLogisticsInfoId(Long overseasLogisticsInfoId) {
        this.overseasLogisticsInfoId = overseasLogisticsInfoId;
    }

    public Integer getStatusError() {
        return statusError;
    }

    public void setStatusError(Integer statusError) {
        this.statusError = statusError;
    }

    public Integer getHandlingStatus() {
        return handlingStatus;
    }

    public void setHandlingStatus(Integer handlingStatus) {
        this.handlingStatus = handlingStatus;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getWareHouseId() {
        return wareHouseId;
    }

    public void setWareHouseId(String wareHouseId) {
        this.wareHouseId = wareHouseId;
    }

    public String getOverseaExpressNo() {
        return overseaExpressNo;
    }

    public void setOverseaExpressNo(String overseaExpressNo) {
        this.overseaExpressNo = overseaExpressNo;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getClientIdentifier() {
        return clientIdentifier;
    }

    public void setClientIdentifier(String clientIdentifier) {
        this.clientIdentifier = clientIdentifier;
    }

    public String getInboundWeight() {
        return inboundWeight;
    }

    public void setInboundWeight(String inboundWeight) {
        this.inboundWeight = inboundWeight;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getStatusString() {
        return statusString;
    }

    public void setStatusString(String statusString) {
        this.statusString = statusString;
    }

    public String getCreateTimeStr() {
        return createTimeStr;
    }

    public void setCreateTimeStr(String createTimeStr) {
        this.createTimeStr = createTimeStr;
    }
}
